package com.cman777.springc.encode.advice.d4t.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author chenzhicong
 * @time 2020/4/15 20:22
 * @description
 */
@ConfigurationProperties(prefix = "com.cman777.encode",ignoreInvalidFields = true)
@Getter
@Setter
@Component
public class EncodeProperties {

    private String privateKey;

    private String publicKey;

    private boolean enableEncrypt = true;

    private boolean enableDecrypt = true;

    private String basePackages;
}
